package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 水流/水压速度
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_rt_env_water_info_dd")
@ApiModel(value="TbRtEnvWaterInfoDd对象", description="水流/水压速度")
public class TbRtEnvWaterInfoDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss SSS",
            timezone = "GMT+8"
    )
    private Date time;

	@ApiModelProperty(value = "试验id")
	@TableField(value = "trialId")
	private String trialId;

	@ApiModelProperty(value = "类型：流速、流场")
	@TableField(value = "type")
	private String type;

	@ApiModelProperty(value = "设备号")
	@TableField(value = "equipmentNo")
	private String equipmentNo;

	@ApiModelProperty(value = "层")
	@TableField(value = "layer")
	private Integer layer;

	@ApiModelProperty(value = "流速、流场值")
	@TableField(value = "flow")
	private Double flow;

	@ApiModelProperty(value = "方向")
	@TableField(value = "direction")
	private String direction;

	@ApiModelProperty(value = "说明")
	@TableField(value = "remark")
	private String remark;

	/*@ApiModelProperty(value = "试验id")
	private String trialId;

    @ApiModelProperty(value = "类型：流速、流场")
    private String type;

    @ApiModelProperty(value = "设备号")
    private String equipmentNo;

    @ApiModelProperty(value = "层")
    private Integer layer;

    @ApiModelProperty(value = "流速、流场值")
    private Double flow;

    @ApiModelProperty(value = "方向")
    private String direction;

    @ApiModelProperty(value = "说明")
    private String remark;*/


}
